home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Forever 4
/
Atari Forever 4.zip
/
Atari Forever 4.iso
/
SERIE_AI
/
AI_052
/
INTERNET
/
STIK
/
DIAL.SCR
< prev
next >
Wrap
Text File
|
1998-03-14
|
4KB
|
129 lines
#
# Dial script file for STiK.ACC
#
#
# There are two parts to the connection process.
#
# The first part is initialising the modem, dialing a remote system
# and establishing a connection to a remote modem.
#
# The second part is to log into the remote computer. This will
# involve entering a username and password, selecting SLIP mode,
# and reading the Internet Address that your system will have for
# the duration of the session.
#
#
# Dial Script Part 1 - Establishing the connection.
#
# The first thing to do is to specify the speed of the modem with
# the BAUD_RATE variable.
#
BAUD_RATE = 19200
#
#
# Next you should define how your modem responds to the DTR
# signal. STiK will use the DTR signal to hangup the modem
# if HANGUP = DTR is set. Otherwise set HANGUP to the
# appropriate hangup string for your modem. (eg: HANGUP = ATH)
#
HANGUP = DTR
#
#
# PREFIX sets the dial prefix (ie: ATD, ATDT, ATDP)
#
PREFIX = ATD
#
#
# INIT set the string you can use to initialise the modem.
#
INIT = ATZ
#
#
# Dialing paramaters.
#
# The dialing parameters are CONNECT_WAIT and REDIAL_DELAY. These
# are times in seconds. CONNECT_WAIT is the amount of time to wait
# for a connection after dialing a number. REDIAL_DELAY is the amount
# of time to wait in between dial attempts.
#
CONNECT_WAIT = 35
REDIAL_DELAY = 20
#
#
# Phone Number(s). PHONE_NUMBER = number. Some providers
# have more than one number you can dial. You can specify
# up to five phone numbers here.
#
PHONE_NUMBER = 2581510
PHONE_NUMBER = 2926200
#
#
# Determining connection success/failure.
#
# Connection success can be determined either by detecting the
# modems Carrier Detect signal (SUCCESS = CDWAIT), or waiting
# for a CONNECT response (SUCCESS = CONNECT) from the modem.
# Failure can be determined by a timeout or a modem response
# such as NO CARRIER, BUSY, NO DIALTONE etc.
# Up to five FAILURE test words can be set.
#
SUCCESS = CDWAIT
FAILURE = BUSY
FAILURE = NO CARRIER
FAILURE = NO DIALTONE
#
#
#
# Dial Script Part 2 - Log in to the Service Provider.
#
# The STiK dialer uses the standard `conversational' method for
# login to the provider. This involves searching for certain
# words and sending an appropriate response. The special
# response $GET_IP is used to read the IP address that your
# provider has assigned you for this session. If your provider
# has allocated you a permanent IP Address, then you should set
# it in the default.cfg file and NOT use $GET_IP.
#
# Each step of the `conversation' is specified as a FIND line
# and a RESP line. There can be up to 10 steps. Each FIND
# *must* have a matching RESP and WAIT, even if they have no
# value. (values are put into arrays in the order they appear)
#
# WAIT is the time in milliseconds to pause before each FIND/RESP
# For accuracy, the time should be a multiple of 5.
# (ie: a WAIT = 4 would result in a pause of 0. WAIT = 12 would be 10)
#
# By default each RESP line is sent with a carriage return
# character at the end. If you need to use a line feed character
# instead then put a | at the end of the line. This only works
# if the | is the last character of the line. A / character at
# the end of a line means carriage return, but this is the default,
# so you don't need it.
#
# If you want to send just a Carriage Return, then use RESP /
# If you want to send just a Linefeed, then use RESP |
#
# Note that if neither FIND or RESP have a value, they are ignored,
# but in this case the WAIT (if any) will still pause.
# If FIND has no value but RESP does, the value of RESP will be
# sent immediately or after the WAIT time.
# If FIND has a value but RESP does not, then after the FIND
# the dialer will move straight on to the next WAIT/FIND/RESP
#
WAIT
FIND = Enter:
RESP = 3
#
WAIT
FIND = Username:
RESP = steve
#
WAIT
FIND = Password:
RESP = steve_password
#
WAIT
FIND = Your address is
RESP = $GET_IP
#